from nodetypes.ntypes.Action import MetaSearchQueryService

import MML, \
    HTML, \
    RDF, \
    JSON


TRANSFORMS = MetaSearchQueryService({
    'mml'       : MML.EventsTransform,
    'json'      : JSON.EventsTransform,
    'html'      : HTML.EventsTransform,
    'xhtml'     : HTML.EventsTransform,
})

from nodetypes.formats.rdf import Serializers
Serializers.UpdateServiceTransform(TRANSFORMS, RDF.EventsTransform)
del Serializers, \
    MML, \
    RDF, \
    JSON